package com.css.zfzx.fxpg.modules.picture.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.picture.repository.entity.FxPictureEntity;
import com.css.zfzx.fxpg.modules.picture.viewobjects.FxPictureQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-17
 */

public interface FxPictureService {

    JSONObject queryFxPictures(FxPictureQueryParams queryParams, int curPage, int pageSize);

    FxPictureEntity getFxPicture(String id);

    FxPictureEntity saveFxPicture(FxPictureEntity fxPicture);

    FxPictureEntity updateFxPicture(FxPictureEntity fxPicture);

    void deleteFxPictures(List<String> ids);


    String importExcel(MultipartFile file);
}
